package com.example.simplecardtenantbank.DTO;

import com.example.simplecardtenantbank.Utils.serializer.Date2LongSerializer;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import lombok.Data;

import java.util.Date;

@Data
public class KaBaoUserDTO {

    private Integer uid;

    private String token;

    private String username;

    private String phone;

    @JsonSerialize(using = Date2LongSerializer.class)
    private Date timeout;

    private Integer status;

    @JsonSerialize(using = Date2LongSerializer.class)
    private Date createTime;

    @JsonSerialize(using = Date2LongSerializer.class)
    private Date updateTime;
}
